package com.qijian.maindata.domain.query;


import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;

import java.util.Set;

import lombok.ToString;
import com.baomidou.mybatisplus.annotation.TableName;


/**
 * 辅助属性值详情对象 查询条件类
 *
 * @author qijian
 * @date 2022-01-13
 */

@Data
@ToString
@TableName("bi_product_attribute_item_detail")
public class ProductAttributeItemDetailQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "attr_item_id")
    private Long attrItemId;
    @WhereType(filed = "number")
    private String number;
    @WhereType(filed = "name")
    private String name;
    @WhereType(filed = "is_select")
    private Boolean isSelect;
    @WhereType(filed = "is_default")
    private Boolean isDefault;
    @WhereType(filed = "is_disabled")
    private Boolean isDisabled;
    @WhereType(filed = "inner_code")
    private String innerCode;
    @WhereType(filed = "sort", sort = true)
    private Long sort;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;

    @WhereType(filed = "attr_item_id", type = WhereTypeEnum.IN)
    private Set<Long> attrItemIds;
}
